#pragma once
#ifndef LIT__EDITOR__FILE__DIALOG__HH__
#define LIT__EDITOR__FILE__DIALOG__HH__

#include "LitEditorPrerequisites.h"
#include "LitFileSystem.h"
#include "LitEditorInstance.h"
#include <qfiledialog.h>

namespace Lit
{
	namespace Editor
	{
		class LIT_API FileDialog
		{
		public:
			FileDialog(void);
			~FileDialog(void);
			
			static FilePath getOpenFileName( Instance * inst=NULL, const std::string &title = "Open File...", const FilePath& baseDir = FilePath("./"), const std::string &filters = "All Files (*.*);;" );
			static std::vector<FilePath> getOpenFileNames( Instance * inst=NULL, const std::string &title = "Open File...", const FilePath& baseDir = FilePath("./"), const std::string &filters = "All Files (*.*);;" );
			static FilePath getSaveFileName( Instance * inst=NULL, const std::string &title = "Save File...", const FilePath& baseDir = FilePath("./"), const std::string &filters = "All Files (*.*);;" );
		};
	};
};

#endif